package com.zhouyu.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * @author leimingchao
 * create 2025-05-25 14:09
 */
@ComponentScan(value = "com.zhouyu")
@EnableWebMvc
public class AppConfig implements WebMvcConfigurer {


	@Override
	public void addInterceptors(InterceptorRegistry registry) {
		//添加拦截器
	}
}
